package com.xxxx.spring.event;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class test {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(test.class, args);
        System.out.println(context);
        context.getBean(Comment1.class).pubilsh();
    }
}
